home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': u'Jasc Software, Inc.',
- 'Copyright': u'Copyright (c) 2003-2004 Jasc Software, Inc. All rights reserved.',
- 'Description': '',
- 'Host': u'Paint Shop Pro',
- 'Host Version': u'8.00'
- }
-
- def Swatch_SetMaterial():
- return {
- 'IsPrimary': App.Constants.Boolean.true,
- 'NewMaterial': {
- 'Color': None,
- 'Pattern': None,
- 'Gradient': {
- 'Name': 'Corel_06_011',
- 'GradientType': App.Constants.GradientType.Linear,
- 'Angle': 0.000000,
- 'RepeatCount': 0,
- 'RepeatType': App.Constants.RepeatType.Pad,
- 'ColorStops': None,
- 'TransparencyStops': [],
- 'CenterPoint': None,
- 'FocalPoint': None,
- 'Invert': App.Constants.Boolean.false
- },
- 'Texture': None
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'SetMaterial', Swatch_SetMaterial())
-
-